<%@ page language="java" isELIgnored="false"
	contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp" />
<fmt:setBundle basename="bundles.login-resources"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><fmt:message key="login.title"/></title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/icons/favicon.ico" />
    <link href="${pageContext.request.contextPath}/css/stylemain_login.css" rel="stylesheet"
        type="text/css" />
</head>
<body onload="document.frmLogin.j_username.focus();">
    <div id="warp_signin">
        <div class="signin_box">
            <div class="signin_box_2">
                <div class="img_signin">
                    <img src="${pageContext.request.contextPath}/images/logo.png" width="180" height="46" />
                </div>
                <c:if test="${not empty param.login_error}">
					<div class="box_close_tony">
						<c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}"/>
					</div>
				</c:if>
                <form name="frmLogin" action="<c:url value='j_spring_security_check'/>" method="post">
                <div class="box_close">
                    <div class="T1" style="width: 35%">
                        <img src="${pageContext.request.contextPath}/images/signin.gif" width="99" height="133" />
                    </div>
                    <div class="T2" style="width: 65%;">
                        <span style="color: #333333; font-weight: bold;"><fmt:message key="login.username.title"/></span><br />
                        <input type="text" style="width: 230px;" name="j_username" value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>' /><br />
                        <span style="color: #333333; font-weight: bold;"><fmt:message key="login.password.title"/></span><br />
                        <input type="password" style="width: 230px;" name="j_password" /><br />
                        <div class="mk" style="width: 40%; float: left;">
                            <a href="quenmk.html" style="color: #0072BC;"><fmt:message key="navigation.forgotPassword"/></a><br />
                            <span style="display: block; clear: both">
                                <input type="checkbox" name="_spring_security_remember_me" />
                                <label style="color: #0072BC; display: inline-block; vertical-align: top; margin: 0px">
                                    <fmt:message key="navigation.rememberMe"/></label>
                            </span>
                        </div>
                        <div class="dn" style="width: 40%; float: left;">
                            <input type="submit" name="submit" value="<fmt:message key="navigation.signin"/>" style="width: 100px; background: #3E9DE3;
                                border: 1px solid #3d9ee2; -moz-border-radius: 3px; -webkit-border-radius: 3px;
                                border-radius: 3px; height: 25px; color: #FFFFFF; font-weight: bold; margin: 5px 5px 5px 12px;
                                cursor: pointer;" />
                        </div>
                    </div>
                </div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>